package JavaEE初阶.Multi;

import javax.swing.plaf.basic.BasicInternalFrameTitlePane;
import java.lang.invoke.SerializedLambda;
import java.util.concurrent.ExecutionException;
import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

public class Demo1 {
    public static void main(String[] args) {
        ExecutorService service = Executors.newFixedThreadPool(4);
        service.submit(new Runnable(){
            @Override
            public void run(){
                System.out.println("hello");
            }
        });
    }
}
